﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucTourList.ascx.cs"
    Inherits="Indochinaodyssey.UserControl.Tour.ucTourList" %>
<style type="text/css">
    .news-item-content
    {
        height: 130px;
        border-bottom-color: #b2b2b2;
        border-bottom-style: dotted;
        border-bottom-width: 1px;
    }
    
    div.news-item-content a img
    {
        height: 102px;
        width: 122px;
        padding: 1 1 1 1;
        border-style: solid;
        border-color: #b2b2b2;
        border-width: 1px;
    }
    .readmore
    {
        width: 10px;
        height: 10px;
        display: inline;
    }
</style>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetByLoai"
    TypeName="IOBusiness.clsBSTour">
    <SelectParameters>
        <asp:QueryStringParameter Name="loaiid" QueryStringField="cateid" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>
<asp:DataList ID="DataList1" runat="server" DataSourceID="ObjectDataSource1" Width="100%">
    <ItemTemplate>
        <div class="news-item-content">
            <table width="100%">
                <tr>
                    <td colspan="3">
                        <div class="link-item-container">
                            <img alt="tab" class="tab" src="../../Style/Images/tab_right.png" />
                            <asp:HyperLink ID="linkTour" NavigateUrl='<%# "~/tourdetail.aspx?id=" + Eval("Id") %>'
                                Font-Bold="true" runat="server"><%# Eval("TieuDe") %></asp:HyperLink>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td height="102px" width="122px">
                        <a id="hinhAnh" href='<%# "~/tourdetail.aspx?id="+Eval("Id") %>' runat="server" title='<%# Eval("TieuDe") %>'>
                            <img id="Img1" runat="server" alt='' src='<%# "~/Images/HinhAnh/"+Eval("HinhAnh") %>'
                                width="120" height="100" /></a>
                    </td>
                    <td valign="top">
                        <asp:Label ID="Label3" runat="server" Text='<%# Eval("GhiChu") %>'></asp:Label>
                    </td>
                    <td valign="bottom" align="right" style="height: 102px; width: 80px">
                        <div class="more">
                            <img alt="Read more" class="readmore" src="../../Style/Images/read-more.png" />
                            <asp:HyperLink ID="linkMore" runat="server" NavigateUrl='<%# "~/tourdetail.aspx?id=" + Eval("Id") %>'>Read more</asp:HyperLink>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </ItemTemplate>
</asp:DataList>
<br />
<br />
